class MenuDatailModel {
  
  int status;
  Data data;
  String msg;
  String error;

  MenuDatailModel({this.status, this.data, this.msg, this.error});

  MenuDatailModel.fromJson(Map<String, dynamic> json) {
    status = json['status'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
    msg = json['msg'];
    error = json['error'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['status'] = this.status;
    if (this.data != null) {
      data['data'] = this.data.toJson();
    }
    data['msg'] = this.msg;
    data['error'] = this.error;
    return data;
  }
}

class Data {
  int iD;
  String createdAt;
  String updatedAt;
  Null deletedAt;
  int storeId;
  int sort;
  String dishName;
  String dishPrice;
  String dishLable;
  List<String> dishLableArr;
  String dishPic;

  Data(
      {this.iD,
      this.createdAt,
      this.updatedAt,
      this.deletedAt,
      this.storeId,
      this.sort,
      this.dishName,
      this.dishPrice,
      this.dishLable,
      this.dishLableArr,
      this.dishPic});

  Data.fromJson(Map<String, dynamic> json) {
    iD = json['ID'];
    createdAt = json['CreatedAt'];
    updatedAt = json['UpdatedAt'];
    deletedAt = json['DeletedAt'];
    storeId = json['StoreId'];
    sort = json['Sort'];
    dishName = json['DishName'];
    dishPrice = json['DishPrice'];
    dishLable = json['DishLable'];
    dishLableArr = json['DishLableArr'].cast<String>();
    dishPic = json['DishPic'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ID'] = this.iD;
    data['CreatedAt'] = this.createdAt;
    data['UpdatedAt'] = this.updatedAt;
    data['DeletedAt'] = this.deletedAt;
    data['StoreId'] = this.storeId;
    data['Sort'] = this.sort;
    data['DishName'] = this.dishName;
    data['DishPrice'] = this.dishPrice;
    data['DishLable'] = this.dishLable;
    data['DishLableArr'] = this.dishLableArr;
    data['DishPic'] = this.dishPic;
    return data;
  }
}
